﻿using BaseLibrary.CDataContext;
using BaseLibrary.CDataContext.CAttribute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataSyn.DAL.DB.Tables
{
    public class TProject : CEntity
    {
        public TProject()
        {
            sync = new MDL.Sync(this);
        }
        [DataColumnAttirbute(Att_AutoIncrement =true ,Att_ISPrimary =true)]
        public int ID { get; set; }
        [DataColumnAttirbute(Att_DataLength =50)]
        public string ProjectName { get; set; }
        /// <summary>
        /// 双向同步
        /// </summary>
        public bool IsTowWay { get; set; }
        public bool IsRunning { get; set; }
        #region 同步管理
        internal MDL.Sync sync;
        #endregion
    }
}
